/*
 * FILE:			ProfileTest.h
 * USAGE:			---
 * DESCRIPTION:		---
 * OPTIONS:			---
 * REQUIREMENTS:	---
 * BUGS:			---
 * NOTES:			---
 * AUTHOR:			LI Yiwei (mail:leeyiw@gmail.com)
 * COMPANY:			---
 * VERSION:			1.0
 * CREATED:			Sat Oct  8 12:12:23 CST 2011
 * REVISION:		---
 */


#ifndef PROFILETEST
#define PROFILETEST

#include <cppunit/TestResult.h>
#include <cppunit/TestRunner.h>
#include <cppunit/ui/text/TestRunner.h>
#include <cppunit/extensions/HelperMacros.h>

#include "Profile.h"

class ProfileTest:public CppUnit::TestCase
{
public:
	void setUp();
	void tearDown();
	static CppUnit::Test* suite();

	void testProfile();
	void test_get_profile_name();
	void test_set_profile_name();
	void test_get_mode();
	void test_set_mode();
	void test_get_log_mode();
	void test_set_log_mode();
	void test_get_log_path();
	void test_set_log_path();
	void test_get_watch_hide();
	void test_set_watch_hide();
	void test_get_src_path();
	void test_set_src_path();
	void test_get_tmp_path();
	void test_set_tmp_path();
	void test_get_dest_path();
	void test_set_dest_path();
protected:
private:
	Profile *p_profile;
};

#endif
